package com.csh.subject.application.convert;

import com.csh.subject.application.dto.SubjectInfoDto;
import com.csh.subject.application.dto.SubjectLabelDto;
import com.csh.subject.domain.entity.SubjectInfoBo;
import com.csh.subject.domain.entity.SubjectLabelBo;
import com.csh.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签Dto的转换
 */
@Mapper
public interface SubjectInfoDtoConvert {
    SubjectInfoDtoConvert INSTANCE = Mappers.getMapper(SubjectInfoDtoConvert.class);

    SubjectInfoBo convertDtoToBo(SubjectInfoDto subjectInfoDto);

    SubjectInfoDto convertBoToDto(SubjectInfoBo subjectInfoBo);
}
